Spread Windows Forms 8.0 Product Documentation
OnValidateNewItems Method (DisplayFieldCollection<T>)


An object indicates the old item when set item.
An object array indicates the new items.
Performs additional custom processes to validating adding items.
Syntax
'Declaration
 
Protected Overridable Sub OnValidateNewItems( _
   ByVal oldItem As Object, _
   ByVal newItems() As Object _
) 
'Usage
 
Dim instance As DisplayFieldCollection(Of T)
Dim oldItem As Object
Dim newItems() As Object
 
instance.OnValidateNewItems(oldItem, newItems)
protected virtual void OnValidateNewItems( 
   object oldItem,
   object[] newItems
)

Parameters

oldItem
An object indicates the old item when set item.
newItems
An object array indicates the new items.
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

DisplayFieldCollection<T> Class
DisplayFieldCollection<T> Members

 

 


Copyright © GrapeCity, inc. All rights reserved.